



function ILikeThis(type,artist, noartist)  {
	var heart = document.getElementById('heart');
	var thisLinkNotice = document.getElementById('ilikethis_notice');
	var thisLink = document.getElementById('ilikethis_a');
	remotos = new datosServidor;
	//alert( '../../ss_saveILikeThis.php?type='+type+'&artist='+escape(artist)+'&noartist='+escape(noartist)+'&id='+thisLink.getAttribute("rowid"));
	nt = remotos.enviar('/ss_saveILikeThis.php?type='+type+'&artist='+escape(artist)+'&noartist='+escape(noartist)+'&id='+thisLink.getAttribute("rowid"));
		
	status = heart.src;
		
    	if (status.indexOf('add')>0)
	{
    		heart.src= '/skins/soundshare/heart_delete.png';
		thisLink.title= 'remove this from your faves';
		thisLink.setAttribute("rowid", -1);
		thisLinkNotice.innerHTML= 'this item is on your faves now';
      	}
    	else if (status.indexOf('delete')>0)
    	{
    		heart.src= '/skins/soundshare/heart_add.png';
		thisLink.title = 'add this to your faves';
		thisLink.setAttribute("rowid", 0);
		thisLinkNotice.innerHTML= 'this item is not on your faves now';
	}
}
